package com.example.micro_property_springboot.pojo.DTO.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 盘点明细操作请求（用于标记资产已盘点）
 */
@Data
@Schema(description = "盘点明细操作请求参数")
public class AssetCheckItemRequest {

    @NotNull(message = "盘点计划ID不能为空")
    @Schema(description = "盘点计划ID", required = true)
    private Long planId; // 与表字段plan_id对应

    @NotNull(message = "资产ID不能为空")
    @Schema(description = "资产ID", required = true)
    private Long assetId; // 与表字段asset_id对应

    @Schema(description = "盘点备注")
    private String remark; // 与表字段remark对应
}